package com.itheima.xixi.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.xixi.Dto.SetmealDto;
import com.itheima.xixi.common.R;
import com.itheima.xixi.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
  //新增套餐，同时保存套餐和菜品的关联关系
     void saveWithDish(SetmealDto setmealDto);
     R<String> removeWithid(List<Long> ids);
     R<String> statusWithid(Integer status,List<Long> ids);
     SetmealDto getByIdWithid(Long id);
     void updateWithid(SetmealDto setmealDto);
}
